package org.jschlicht.scalaml.parser

import org.junit.runner.RunWith
import org.scalatest.FlatSpec
import org.scalatest.junit.{ JUnitSuite, ShouldMatchersForJUnit, JUnitRunner }
import org.scalatest.fixture.FixtureFlatSpec
import org.jschlicht.scalaml.MLParser

abstract class ParserSpecBase extends FixtureFlatSpec with ShouldMatchersForJUnit {
  type FixtureParam = MLParser

  def withFixture(test: OneArgTest) {
    val parser = new MLParser()
    test(parser)
  }
}